package org.example.cat.demo.account.web;

import com.dianping.cat.Cat;
import com.dianping.cat.CatConstants;
import com.dianping.cat.message.Transaction;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.RestTemplate;

import javax.annotation.Resource;

/**
 * Created with IntelliJ IDEA.
 *
 * @author ld
 * @date 2022/3/27
 */
@RestController
public class AccountController {

    @RequestMapping("/account")
    public String gateway() throws Exception {
        Thread.sleep(150);
        return "account success";
    }
}
